package cn.zhang.test;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import cn.zhang.dao.UserMapper;
import cn.zhang.entity.User;

public class Demo {

	@Test
	public void test(){
		String str = "100000000000";
		System.out.println(str.length());
	}
	
	@Test
	public void test2(){
		
		/*ApplicationContext context = new ClassPathXmlApplicationContext("spring/spring.xml");
		
		UserMapper userMapper = (UserMapper) context.getBean("userMapper");
		User user = userMapper.selectByPrimaryKey(1);
		System.out.println(user.getUname());*/
		
	}
	
	@Test
	public void test3() {
		
	}
	
	
	
	
	
	
	
}
